"""
Brief:
  一些没用的工具人函数
"""
import time

def timer(func):
    def wrapper(*args,**kwargs):
        start = time.time()
        result = func(*args,**kwargs)
        end = time.time()
        print("function {} run time is {} ".format(func.__name__,end-start))
        return result
    return wrapper